
s = '13+2/2+4*2-2'
num=[]
ops=[]
b=0
for i in range(len(s)):
    if s[i] in "+-*/":
        ops.append(s[i])
        num.append(s[b:i])
        b=i+1
    if i+1 == len(s):
        num.append(s[b:])
print(num,ops)


